"""
@author: jpj
@email: pj.jiang@hzgosun.com
@file: delayConfigurationPage.py
@time: 2019/7/25 10:05

"""
from poium import PageElement

from common.poium import Page


class DelayConfiguration(Page):
    village = PageElement(xpath='//*[@id="app"]/div/div[2]/div[2]/div/div/div/form/div[1]/div/div/div/input',
                          describe="村综治中心")
    town = PageElement(xpath='//*[@id="app"]/div/div[2]/div[2]/div/div/div/form/div[2]/div[2]/div/div/input',
                       describe="镇综治中心")
    district = PageElement(xpath='//*[@id="app"]/div/div[2]/div[2]/div/div/div/form/div[3]/div/div/div/input',
                           describe="区综治中心")
    button = PageElement(xpath='//*[@id="app"]/div/div[2]/div[2]/div/div/div/div/button',
                         describe="应用按钮")
    error = PageElement(class_name='ivu-message-error',
                       describe="错误提示")
    success = PageElement(class_name='ivu-message-success',
                           describe="成功提示")
